From c8a6b8786abedb5e16fdd978f982c876e8074e6e Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 19 Oct 2014 20:47:05 -0400 Subject: [PATCH] Clarify GtkSettings documentation Just recommend g_object_set to override settings. The gtk_settings_set_..._property functions don't really add any value. --- gtk/gtksettings.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c index 2cb6a8151e..ab720d801d 100644 --- a/gtk/gtksettings.c +++ b/gtk/gtksettings.c @@ -80,13 +80,13 @@ * for settings by installing a `settings.ini` file * next to their `gtk.css` file. * - * Applications can override system-wide settings with - * gtk_settings_set_string_property(), gtk_settings_set_long_property(), - * etc. This should be restricted to special cases though; GtkSettings are - * not meant as an application configuration facility. When doing so, you - * need to be aware that settings that are specific to individual widgets - * may not be available before the widget type has been realized at least - * once. The following example demonstrates a way to do this: + * Applications can override system-wide settings by setting the property + * of the GtkSettings object with g_object_set(). This should be restricted + * to special cases though; GtkSettings are not meant as an application + * configuration facility. When doing so, you need to be aware that settings + * that are specific to individual widgets may not be available before the + * widget type has been realized at least once. The following example + * demonstrates a way to do this: * |[ * gtk_init (&argc, &argv); * -- 2.30.2